home *** CD-ROM | disk | FTP | other *** search
- unit OneToManyClientU;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- Db, DBClient, MConnect, Grids, DBGrids;
-
- type
- TClientForm = class(TForm)
- cdsCustomer: TClientDataSet;
- dcOneToManyServer: TDCOMConnection;
- DataSource1: TDataSource;
- DBGrid1: TDBGrid;
- procedure FormCreate(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- ClientForm: TClientForm;
-
- implementation
-
- {$R *.DFM}
-
- procedure TClientForm.FormCreate(Sender: TObject);
- begin
- cdsCustomer.Open
- end;
-
- end.
-